package com.zcf.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoQi
 * @since 2019-03-18
 */
public class Room extends Model<Room> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 房间号
     */
    @TableField("roomNum")
    private String roomNum;
    private Long uid;
    @TableField("createTime")
    private Date createTime;
    /**
     * 房间类型
     */
    @TableField("roomType")
    private Integer roomType;
    /**
     * 房间底分
     */
    @TableField("roomMoney")
    private Integer roomMoney;
    /**
     * 战绩类型 0簸簸牛牛  1经典牛牛 2推筒子
     */
    @TableField("recordType")
    private Integer recordType;
    
    

	public Integer getRoomType() {
		return roomType;
	}

	public void setRoomType(Integer roomType) {
		this.roomType = roomType;
	}

	public Integer getRoomMoney() {
		return roomMoney;
	}

	public void setRoomMoney(Integer roomMoney) {
		this.roomMoney = roomMoney;
	}

	public Integer getRecordType() {
		return recordType;
	}

	public void setRecordType(Integer recordType) {
		this.recordType = recordType;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Room{" +
        "id=" + id +
        ", roomNum=" + roomNum +
        ", uid=" + uid +
        ", createTime=" + createTime +
        "}";
    }
}
